package com.lx.fgromore;

import android.content.Context;

import androidx.multidex.MultiDex;
import androidx.multidex.MultiDexApplication;

import com.lx.fgromore.config.TTAdManagerHolder;

public class FGroApplication extends MultiDexApplication {

    public static String PROCESS_NAME_XXXX = "process_name_xxxx";
    private static Context context;

    @Override
    protected void attachBaseContext(Context base) {
        super.attachBaseContext(base);
        MultiDex.install(base);
        this.context = this;
    }

    @Override
    public void onCreate() {
        super.onCreate();
        //调用初始化
        TTAdManagerHolder.init(this.context);
    }

    public static Context getAppContext() {
        return context;
    }

}
